import {ADD_SHOP,ADD_COUNTER,KIND_SHOP} from "./mutation-type";

export default {
    [ADD_COUNTER](state,payload){
        payload.count ++
    },
    [ADD_SHOP](state,payload){
            state.shopInfo.push(payload)
    },
    [KIND_SHOP](state,payload){
        state.kindShop = payload
    }
};